#include <utils/item_list.h>


namespace AccountManagerUtils {
	
//! Default constructor
ItemList::ItemList() : value_(0.0f) {}

//! Copy constructor
ItemList::ItemList(const ItemList& rhs) : items_(rhs.items_), value_(rhs.value_) {}

//! Destructor
ItemList::~ItemList() {}

//! Assignment operator
ItemList& ItemList::operator=(const ItemList& rhs) {
	if ( &rhs != this ) {
		items_ = rhs.items_;
		value_ = rhs.value_;
	}
	return *this;
}

//! Accessor to the value of the list of items
Item::ValueType ItemList::value() const {
	return value_;
}

} // namespace AccountManagerUtils

